package com.shanjinjian.springblog.service.impl;

import com.shanjinjian.springblog.dao.ClientAccessMapper;
import com.shanjinjian.springblog.service.IPortalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PortalServiceImpl implements IPortalService {

    @Autowired
    ClientAccessMapper clientAccessMapper;

    @Override
    public int insertClientAccess(String clientIp) {
        return clientAccessMapper.insertClientAccess(clientIp);
    }
}
